<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script></script>
    <meta>
</head>
<body>
<div  id="box">aaa
    <!--这是一个注释-->
    <span>a</span>
    <span Name="bb">b</span>
    <span>c</span>
</div>
<script>
    var box = document.getElementById('box');
        var nls = box.childNodes;
    console.log(box.childNodes) //子节点 ，children(子节点，且是元素对象)
</script>
</body>
</html>